<!DOCTYPE html>
<html lang="">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
      <link rel="icon" href="<%= BASE_URL %>s-logo.png">
    <title>江西港口综合服务平台门户</title>
      <link rel="stylesheet" href="//at.alicdn.com/t/c/font_4178560_g7zstnn9m2u.css">
      <style>
          :root {
              --font-size: 16px;
              --font-size19: 19px;
              --font-size40: 40px;
          }
      </style>
  </head>
  <body>
    <noscript>
      <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    </noscript>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
  <script>
      function resetRootFZ() {
          let Html = document.querySelector('html')
          let w = window.innerWidth
          // let w = Html.getBoundingClientRect().width
          // 设置根字体大小
          Html.style.fontSize = w / 200 + 'px'
      }



      // 初次加载时候设置字体大小
      resetRootFZ()

      // 屏幕宽度发生改变时，重新设置字体大小
      window.addEventListener('resize', function () {
          resetRootFZ()
      })
  </script>

</html>
